class A{
    C c =new C();

    {
        System.out.println("实例代码块A");
    }

}


class B extends A{

    {
        System.out.println("实例代码块B");
    }
    public B(){

        System.out.println("构造代码块B");

    }

}
class C{


    {
        System.out.println("实例代码块C");
    }
}

public class Test {
    public static void main(String[] args) {
        new B();//cabb
    }
}
